package com.kgc.easyshopping.service.Impl;

import com.kgc.easyshopping.dao.DetailMapper;
import com.kgc.easyshopping.entity.Detail;
import com.kgc.easyshopping.service.DetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DetailServiceImpl implements DetailService {

    @Resource
   private DetailMapper detailMapper;

    @Override
    public List<Detail> selectByOrderId(String orderid) {
        return detailMapper.selectAll(orderid);
    }
}
